package com.zhl.polymorphism2;

public class Teacher extends People {
    @Override
    public void eat() {
        System.out.println("老师吃东西的比较少。");
    }

    //多态不能调用子类独有功能
    public void teach() {}
}
